<h1>Editing command</h1>

<%= error_messages_for :command %>

<% form_for(:command, :url => command_path(@command), :html => { :method => :put }) do |f| %>
  <p>
    <%= submit_tag "Update" %>
  </p>
<% end %>

<%= link_to 'Show', command_path(@command) %> |
<%= link_to 'Back', commands_path %>